home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / tsqed16.zip / SYNCH.QMA < prev    next >
Text File  |  1992-04-18  |  2KB  |  45 lines

  1. *                                                All rights reserved
  2. * Scroll the text in two windows up or down in synchronization
  3. * By Prof. Timo Salmi  Sat 18-April-1992
  4. *
  5. * You can have two (up to 8 actually) files displayed simultaneously
  6. * on separate windows on the screen. If you are using the QEDTSH.KEY
  7. * key definitions you have the following commands for the windows
  8. * ^x_f1   OneWindow            (Ctrl-X + F1)
  9. * ^x_f2   HorizontalWindow     (Ctrl-X + F2)
  10. * My SYNCH macro allows you to scroll your text in two windows up
  11. * and down in synchronization once you have two windows open on your
  12. * screen.
  13. *
  14. * To compile these macros apply QMAC SYNCH.MAC SYNCH.QMA /A- /B
  15. *
  16. * The QMAC.EXE macro translator is from
  17. * garbo.uwasa.fi:/pc/editor/qmac215.zip
  18. * (Also the earlier version 2.1 will do).
  19. *
  20. * To make these macros available you can e.g. first invoke the main menu
  21. * (usually F10) and select Macro: Read Macro: synch.mac. Then you can
  22. * invoke the commands with ALT-4 and ALT-6, respectively.
  23.  
  24. * ┌──────────────────────────────────────────────┐
  25. * │ Scroll the texts down in the windows , ALT-4 │
  26. * └──────────────────────────────────────────────┘
  27. @4 MacroBegin
  28.      EndScreen
  29.      CursorDown
  30.      NextWindow
  31.      EndScreen
  32.      CursorDown
  33.      NextWindow
  34.  
  35. * ┌────────────────────────────────────────────┐
  36. * │ Scroll the texts up in the windows , ALT-4 │
  37. * └────────────────────────────────────────────┘
  38. @6 MacroBegin
  39.      BegScreen
  40.      CursorUp
  41.      NextWindow
  42.      BegScreen
  43.      CursorUp
  44.      NextWindow
  45.